package org.rcloud.io.service;

import org.rcloud.io.Utils.PageVo;
import org.rcloud.io.Utils.ResultVo;
import org.rcloud.io.model.ArticleTable011Mapping;
import org.rcloud.io.model.Product;
import org.rcloud.io.model.ProductSite;

import java.util.List;

/**
 * Created by Administrator on 2019/3/12.
 */
public interface ProductService {

    PageVo<Product> findProduct();

    ResultVo findByEid(String eid);

    ResultVo saveproduct(Product product);

    ResultVo findById(int id);

    ResultVo updateProduct(Product product);

    ResultVo insertProductSite(ProductSite productSite);

    ResultVo updateProductSite(ProductSite productSite);

    PageVo<ProductSite> findAllProductSite();

    ResultVo findProductSiteByEid(String eid);

    ResultVo findProductSiteById(Integer id);

    ResultVo savaMapping(ArticleTable011Mapping articleTable010Mapping);
}
